package top.wfzzq.ns;

/**
 * 
 * @author wanghui
 *
 * @param <T>
 */

public class DeCoin<T> {
	private T coin;
	private DeCoin<T> next;

	public DeCoin() {

	}

	public DeCoin(T coin) {
		this.coin = coin;
	}

	public T getCoin() {
		return coin;
	}

	public void setCoin(T coin) {
		this.coin = coin;
	}

	public DeCoin<T> getNext() {
		return next;
	}

	public void setNext(DeCoin<T> next) {
		this.next = next;
	}

	@Override
	public String toString() {
		return "Decoin [coin=" + coin + ", next=" + next + "]";
	}

}
